of

open fun of(width: Int, height: Int): Size

Returns the Size instance for the given width and height values.

Throws

when width or height is negative